<?php
class CategoriesController extends AppController {
    var $name = "Categories";
	var $uses = array('Category','Item');	
	
	function view($name){
		$this->set('items', $this->Item->Category->find('all', array('conditions'=>array('Category.name'=>$name))));
	}
}
?>